an=n^2((cos(nπ/3))^2-(sin(nπ/3))^2)

来源:百度知道 编辑:UC知道 时间:2024/06/01 05:28:13
求前三十项和

cos(nπ/3)^2 - sin(nπ/3)^2 = 1 - 2sin(nπ/3)^2 周期为3
从n=0开始:1,-1/2 , -1/2,......

所以前三十项和为
a0+...+a29 = -1/2*(0^2+....+29^2) + 3/2*(0^2+3^2+....+27^2)

= -1/2*(29*30*59)/6 + 27/2*(1^2+....+9^2)

= -(29*5*59)/2 + 27/2 *(9*10*19)/6

= (-8555+7695)/2 = -430